package api;

import conf.App;
import utils.HttpClientUtils;
import utils.ResponseData;

import java.io.IOException;
import java.net.URISyntaxException;

public class GetVerifyApi {
    private static String verify_url= App.BaseUrl+"common/public/verifycode/%s";
    public static ResponseData verify(String empId) throws IOException, URISyntaxException {
        String new_url=String.format(verify_url,empId);
        return HttpClientUtils.get(new_url);
    }
}
